package com.didispace.chapter36.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.didispace.chapter36.entity.User;

@Mapper
public interface UserMapper {
    
    User findByName(@Param("name") String name);
    
    int insert(@Param("name") String name, @Param("age") Integer age);
    
}
